home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
utmisc1
/
fscode.lha
/
SMakeFile
< prev
next >
Wrap
Makefile
|
1995-11-13
|
863b
|
37 lines
# $VER: MakeFile for FSCode (13.11.95) by Flavio Stanchina
# Needs SAS/C and PhxAss
SRC = Src/
OBJ = Obj/
C_OPTIONS = OPT noVER
#C_OPTIONS = noOPT noVER DEBUG=LINE
.c.o0:
@SC $< OBJNAME=$@ $(C_OPTIONS) CPU=68000
.c.o2:
@SC $< OBJNAME=$@ $(C_OPTIONS) CPU=68020
ASM_OPTIONS = INCPATH="$(SRC),INCLUDE:" QUIET
.a.o:
PhxAss FROM $< TO $@ $(ASM_OPTIONS)
LINK_LIBS = LIB:sc.lib LIB:amiga.lib
LINK_OPTIONS = SC SD ND
#LINK_OPTIONS = SC SD MAP $@.map HXSFLO HEIGHT 0
OBJS = $(OBJ)FSCode.o0 $(OBJ)Encode.o0 $(OBJ)Decode.o0 $(OBJ)CRC32.o $(OBJ)Support.o
C:FSCode : FSCode
@Copy $< $@ CLONE
FSCode : $(OBJS)
@Slink FROM $(OBJS) TO $@ LIB $(LINK_LIBS) $(LINK_OPTIONS)
@Protect $@ +p
$(OBJ)FSCode.o0: $(SRC)FSCode.c $(SRC)FSCode_rev.h
$(OBJ)Encode.o0: $(SRC)Encode.c
$(OBJ)Decode.o0: $(SRC)Decode.c
$(OBJ)CRC32.o: $(SRC)CRC32.a
$(OBJ)Support.o: $(SRC)Support.a